package com.sxfq.loansupermarket.backsystem.modular.theTest.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.sxfq.loansupermarket.backsystem.common.persistence.model.User;
import org.apache.ibatis.annotations.Param;

/**
 * dao
 *
 * @author py
 * @Date 2018年2月4日23:05:54
 */
public interface UserDao extends BaseMapper<User> {
    int selectSameNameCount(@Param("id") int id, @Param("name") String name);

    int getRanking(@Param("userId") int userId);
}
